Objects with OLE

If I am using a skiplist of the entire module and object identifier as the key and the data as objects. Assume that the objects contain OLE embedded into the objects.
If I try to retreive the data from the skiplist, will it provide me the OLE also??
Lion29 - Tue Jun 26 04:25:09 EDT 2012

Re: Objects with OLE
llandale - Tue Jun 26 16:19:56 EDT 2012

I think you say you are putting the "Object" handle in the skip list. If so, when you retrieve it you only get the handle, and can use that to find that object's OLE. Perhaps your code looks like this:

string ObjId, Text
Skip skpObjects = createString()  // KEY 'string' ObjId; DATA 'Object' handle
 
for obj in entire mod do
{  if (isDeleted(obj))   continue
   put(skpObjects, identifier(obj), obj)
}
for obj in skpObjects do
{  ObjId = (string key skpObjects)
   Text = richTextWithOle(obj, "Object Text")
   ...
}
delete(skpObjects)


-Louie